package com.zhangzc.sc.scquery;


import com.zhangzc.sc.scquery.Esconfig.ElasticsearchConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
@EnableConfigurationProperties(ElasticsearchConfig.class)
public class ScQueryApplication {


    public static void main(String[] args) {
        SpringApplication.run(ScQueryApplication.class, args);

    }

}
